html,
body {
  height: 100%;
  background-color: #fff;
  -webkit-overflow-scrolling: touch;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: $primary;
  font-family: 'Microsoft Yahei';
  overflow-y: scroll;
}

.mint-header {
  background: rgba(239, 246, 255, 0) !important;
  padding: 0 !important;
  border-bottom: #f3f3f3 1px solid;

  .mint-header-title {
    color: #373737;
    font-size: 17px;
  }
}

.mint-header.no-border {
  border-bottom: none;
}

a {
  color: inherit;
}

a.tel-link {
  color: $blue;
}

*,
*:before,
*:after {
  -webkit-tap-highlight-color: transparent;
}

input {
  @include placeholder($gray-73);
  font-size: 14px;
  outline: none;
  // font-family: 'Microsoft Yahei';
}

[disabled='disabled'] {
  opacity: 0.6;
}

input[type='radio'] {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background-color: transparent;
}

$gap: 2,
3,
5,
7,
10,
12,
15,
18,
20,
25,
30,
35,
40,
45,
50,
55,
60,
65,
70,
75,
80,
85,
90,
95,
100;

@each $animal in $gap {
  .pt-#{$animal} {
    padding-top: $animal * 1px;
  }

  .pr-#{$animal} {
    padding-right: $animal * 1px;
  }

  .pb-#{$animal} {
    padding-bottom: $animal * 1px;
  }

  .pl-#{$animal} {
    padding-left: $animal * 1px;
  }

  .mt-#{$animal} {
    margin-top: $animal * 1px;
  }

  .mr-#{$animal} {
    margin-right: $animal * 1px;
  }

  .mb-#{$animal} {
    margin-bottom: $animal * 1px;
  }

  .ml-#{$animal} {
    margin-left: $animal * 1px;
  }

  .h-#{$animal} {
    height: $animal * 1px;
  }

  .w-#{$animal} {
    width: $animal * 1px;
  }
}

.w {
  width: 100% !important;
  max-width: 100% !important;
}

.h {
  height: 100% !important;
  max-height: 100% !important;
}

$radius: 2,
4,
5,
6,
8,
10;

@each $item in $radius {
  .br-#{$item} {
    border-radius: $item * 1px;
  }
}

$font: 12,
14,
16,
18;

@each $item in $font {
  .font-#{$item} {
    font-size: $item * 1px !important;
  }
}

.bg-gray {
  background-color: $bg-gray;
}

.bg-white {
  background-color: #fff;
}

.primary {
  color: $primary;
}

.red {
  color: $red;
}

.blue {
  color: $blue;
}

.gray {
  color: $gray;
}

.text-gray {
  color: $text-gray !important;
}

.text-bold {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.align-center {
  vertical-align: middle;
}

.pull-right {
  float: right;
}

.pull-left {
  float: left;
}

.extend-click-after {
  position: relative;

  &:after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
  }
}

.center-block {
  @include center-block();
}

.page--container {
  overflow: hidden;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-flow: column;
}

.main-page {
  display: flex;
  flex-grow: 1;
  flex-flow: column;
}

.page--content {
  overflow: auto;
  display: flex;
  flex-grow: 1;
  overflow: hidden;
}

.padding--content-h {
  padding-left: 15px;
  padding-right: 15px;
}

.padding--content-v {
  padding-top: 15px;
  padding-bottom: 15px;
}

.page-container--child {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-color: #fff;
  z-index: $zIndex-pageChild;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.page-container--child-padding {
  padding-top: 40px;
}

.container-flex {
  height: 100%;
  display: flex;
  flex-flow: column;
  flex-grow: 1;

  .fcon {
    position: relative !important;
    flex: 1;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .fcon-space {
    padding: 15px;
  }
}

.fdx-row-flex {
  width: 100%;
  @include equal-flex('.left');
  @include center-flex();
}

.no-scroll {
  overflow: hidden;
}

.user-select-text,
.user-select-text * {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -o-user-select: text !important;
  user-select: text !important;
}

.user-select-none,
.user-select-none * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

// .list {
//   li {
//     height: 40px;
//     line-height: 40px;
//     border-bottom: 1px solid gray;
//   }
// }
// @mixin scroller-ani-gb {
//   content: '  ';
//   background-image: url(../image/logo.png);
//   background-repeat: no-repeat;
//   background-size: 128px 128px;
//   background-position: center;
//   width: 100%;
//   height: 128px;
//   display: block;
//   position: fixed;
//   opacity: 0.1;
//   background-color: transparent;
//   filter: grayscale(100%);
//   animation: rotate360 10s linear infinite;
// }

// .betterscroll-ani-gb {
//   &::before {
//     @include scroller-ani-gb;  
//   }

// }

// .scroll-ani-bg {
//   > ._v-container {
//     background-color: $bg-gray;
//     &::before {
//       @include scroller-ani-gb;  
//     }
//   }
// }

// .scroll-child-ani-bg {
//   > ._v-container {
//     background-color: $bg-gray;
//     &::before {
//       @include scroller-ani-gb();
//       margin-top: 50px;
//     }
//   }
// }

.require {
  .mint-cell-text:before {
    content: '●';
    color: #fb3353;
    font-size: 9px;
    padding-right: 12px;
  }
}

.box-shandow {
  border-radius: 3px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.split-line {
  height: 1px;
  width: 100%;
  border-bottom: solid 1px $border-color;
}

.big-split-line {
  height: 10px;
  width: 100%;
  background-color: $border-color;
}

.btn-back {
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;

  .icon-back {
    color: #fff;
    font-size: 16px;
  }
}

.scroll-container {
  height: 100%;
  overflow: hidden;
}

.al-icon {
  font-size: 12px;
  width: 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}